
export const yearMonthDate = function(time){
	if (time) {
		var a = [];
		a = time.split('-')
		var year = a[0];
		var month = a[1];
		var date = a[2];
		if (month.indexOf("0") == 0) {
				month = month.slice(1);
		}
		if (date.indexOf("0") == 0) {
				date = date.slice(1);
		}
		var monthDateText = month + '月' + date + '日';
		return monthDateText
	}
}

